package route

import "net/http"

func NewMux() *Mux {
	return &Mux{
		mux:      *http.NewServeMux(),
		pool:     map[string]string{},
		groups:   map[string]string{},
		authFunc: DefaultAuthFunc,
		cors:     false,
	}
}
